package cn.wxManage.user.dao;

import cn.common.user.dao.BaseUserAddressMapper;
import cn.wxManage.common.model.DistrictInfo;
import cn.wxManage.user.model.UserAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserAddressMapper extends BaseUserAddressMapper{

    void initNotDefault(@Param("userId") Integer userId);

    List<UserAddress> getUserAddress(@Param("userId") Integer userId);

    List<DistrictInfo> getAddressList(@Param("fatherAdCode") String fatherAdCode);
}